package org.apache.ibatis.demo.decorationTest;

/**
 * @Date 2021/2/20 22:23
 * @Created decorationTest
 * @Description
 */
public abstract class BaseExecutor implements Executor{

  protected abstract void doPlay();

  @Override
  public void play() {
    System.out.println("我是Base类中的play——一级缓存");
    doPlay();
  }
}
